package com.hitqz.robot.api.business.model.param.mapArea;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * @author xupkun
 * @date 2024/6/3
 */
@Schema(description = "添加/更新地图区域")
public class AddMapAreaParams {

    @Schema(description = "区域id")
    private Integer id;

    @Schema(description = "区域名称")
    private String name;

    @Schema(description = "0-禁用 1-启用")
    private Integer status;

    @Schema(description = "地图编码")
    private String mapCode;

    @Schema(description = "区域点位合集")
    private List<MapAreaPosParams> areaPos;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMapCode() {
        return mapCode;
    }

    public void setMapCode(String mapCode) {
        this.mapCode = mapCode;
    }

    public List<MapAreaPosParams> getAreaPos() {
        return areaPos;
    }

    public void setAreaPos(List<MapAreaPosParams> areaPos) {
        this.areaPos = areaPos;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
